package com.delivery.www.po;

import com.delivery.www.util.AnnotationUtils;

/**
 * 抵用券
 * @author 12970
 */
@AnnotationUtils.Table("coupon")
public class Coupon {
    @AnnotationUtils.Field(columnName = "coupon_id")
    private Integer couponId;
    @AnnotationUtils.Field(columnName = "store_id")
    private Integer storeId;
    @AnnotationUtils.Field(columnName = "value")
    private Float value;
    @AnnotationUtils.Field(columnName = "min")
    private Float min;
    @AnnotationUtils.Field(columnName = "validity")
    private Integer validity;
    @AnnotationUtils.Field(columnName = "store_name")
    private String storeName;

    public Coupon() {
    }

    public Coupon(Integer couponId, Integer storeId, Float value, Float min, Integer validity, String storeName) {
        this.couponId = couponId;
        this.storeId = storeId;
        this.value = value;
        this.min = min;
        this.validity = validity;
        this.storeName = storeName;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Float getValue() {
        return value;
    }

    public void setValue(Float value) {
        this.value = value;
    }

    public Float getMin() {
        return min;
    }

    public void setMin(Float min) {
        this.min = min;
    }

    public Integer getValidity() {
        return validity;
    }

    public void setValidity(Integer validity) {
        this.validity = validity;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }
}
